﻿package org.xhs.report.common.ui.toolbar
{
    import flash.events.*;

    public class ToolButtonEvent extends Event
    {
        public static const ZOOM_IN:String = "ZOOM_IN";
        public static const ZOOM_OUT:String = "ZOOM_OUT";
        public static const MODE_SINGLE:String = "MODE_SINGLE";
        public static const MODE_DOUBLE:String = "MODE_DOUBLE";
        public static const SIZE_SMALL:String = "SIZE_SMALL";
        public static const SIZE_MODERATE:String = "SIZE_MODERATE";
        public static const SIZE_LARGE:String = "SIZE_LARGE";
        public static const BG_COLOR:String = "BG_COLOR";
        public static const SCREEN_FULL:String = "SCREEN_FULL";
        public static const SCREEN_NORMAL:String = "SCREEN_NORMAL";

        public function ToolButtonEvent(param1:String, param2:Boolean = true, param3:Boolean = false)
        {
            super(param1, param2, param3);
            return;
        }// end function

        override public function toString() : String
        {
            return formatToString("ToolButtonEvent", "type", "bubbles", "cancelable");
        }// end function

        override public function clone() : Event
        {
            return new ToolButtonEvent(type, bubbles, cancelable);
        }// end function

    }
}
